package com.example.testdemoutils.dynamic_data_source.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.testdemoutils.dynamic_data_source.po.Datasource;
import com.example.testdemoutils.dynamic_data_source.po.DynamicDataSourceModel;
import io.lettuce.core.dynamic.annotation.Param;

public interface DatasourceDao extends BaseMapper<Datasource> {
    DynamicDataSourceModel getDynamicDbSourceByCode(@Param("dbKey") String dbKey);
}
